In this paper, linearly and circularly polarized single-layer Substrate Integrated Waveguide (SIW) horn antennas with nearly equal half power beamwidths in principal planes for the 24 GHz ISM band are designed. The uniqueness of the solution lies in the application of a pixelated structure to the design of these SIW horn antennas. For the design, a novel heuristic algorithm called Binary Ink Stamp Optimization is proposed. At first, the ability of the proposed algorithm is proved over fifteen benchmark functions and compared with the results of six state-of-the-art optimization algorithms. Then, the novel algorithm is exploited for the design of the pixelated part of the antennas. The antennas are manufactured using low-cost 3D printing tec...