In the same way in English we have the word "lunatic" to describe someone who is mentally ill. Literally it means someone who is "moon struck".
Kwa njia hiyo hiyo kwa Kiswahili tuna neno 'kupigwa na mwezi’ huwa ni kueleza mtu mwenyewe wazimu wakati mwezi ukiwa mchanga.