lose one's marbles

verb
Graduate
1

Synonym of lose one's mind (“to become crazy”).