A lunatic (colloquially, "loony") is a person who is mentally ill, traditionally someone whose sanity comes and goes with the phases of the Moon.
This probably refers to the symptoms of what is now known as Bipolar disorder.
Extremely foolish persons are also called lunatics.
...
As of the census of 2000, there are 5,013 people, 1,455 households, and 1,223 families residing in the town. The population density is 1,433.7/k ...