A lunatic was a person regarded as suffering from symptoms probably resembling epilepsy. The term reflected the belief that such symptoms became more severe as the moon increased. In the biblical accounts, the condition could be distinguished from demonic possession, although the designation was also applied to a person declared to be possessed.
“Lunatics” are distinguished from demoniacs in Matthew 4:24. In Matthew 17:15, the designation is applied to a person who is declared to have been possessed. Thus the biblical usage does not treat every such condition as evidence of possession.
The term comes from the Latin word for moon. Ancient belief connected the symptoms with changes in the moon, especially its increase.