jagṛhus tad-visṛṣṭāṁ tāṁ
jṛmbhaṇākhyāṁ tanuṁ prabhoḥ
yayā bhūteṣu dṛśyate
tam unmādaṁ pracakṣate
jagṛhuḥ—took possession; tat-visṛṣṭām—thrown off by him; tām—that; jṛmbhaṇa-ākhyām—known as yawning; tanum—the body; prabhoḥ—of Lord Brahmā; nidrām—sleep; indriya-vikledaḥ—drooling; yayā—by which; bhūteṣu—among the living beings; dṛśyate—is observed; yena—by which; ucchiṣṭān—smeared with stool and urine; dharṣayanti—bewilder; tam—that; unmādam—madness; pracakṣate—is spoken of.
The ghosts and hobgoblins took possession of the body thrown off in the form of yawning by Brahmā, 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