Today, the design of antenna arrays is very important in providing effective and efficient wireless communication. The purpose of antenna array synthesis is to obtain a radiation pattern with low side lobe level (SLL) at a desired half power beam width (HPBW) in far-field. The amplitude and position values of the array elements can be optimized to obtain a radiation pattern with suppressed SLLs. In this paper swarm-based meta-heuristic algorithms such as Particle Swarm Optimization (PSO), Artificial Bee Colony (ABC), Mayfly algorithm (MA) and Jellyfish Search (JS) algorithms are compared to realize optimal design of linear antenna arrays. Extensive experiments are conducted on designing 10, 16, 24 and 32-element linear arrays by determining the amplitude and positions. Experiments are repeated 30 times due to the random nature of swarm-based optimizers and statistical results show that performance of the novel algorithms, MA and JS, are better than well-known methods PSO and ABC.