jagrhus tad-visrstam tam
jrmbhanakhyam tanum prabhoh
yaya bhutesu drsyate
tam unmadam pracaksate
jagrhuh—took possession; tat-visrstam—thrown off by him; tam—that; jrmbhana-akhyam—known as yawning; tanum—the body; prabhoh—of Lord Brahma; nidram—sleep; indriya-vikledah—drooling; yaya—by which; bhutesu—among the living beings; drsyate—is observed; yena—by which; ucchistan—smeared with stool and urine; dharsayanti—bewilder; tam—that; unmadam—madness; pracaksate—is spoken of.
The ghosts and hobgoblins took possession of the body thrown off in the form of yawning by Brahma, the creator of the living entities. This is also known as the sleep which causes drooling. The hobgoblins and ghosts attack men who are impure, and their attack is spoken of as insanity.
The disease of insanity or being haunted by ghosts takes place in an unclean state of existence. Here it is clearly stated that when a man is fast asleep and saliva flows from his mouth and he remains unclean, ghosts then take advantage of his unclean state and haunt his body. In other words, those who drool while sleeping are considered unclean and are subject to be haunted by ghosts or to, go insane.
Link to this page: https://prabhupadabooks.com/sb/3/20/41