Lose (one's) buttons verb phrase
To be mentally deficient or incompetent; to become of mental health disorders
My wife started losing her buttons after menopause.
I have stayed up all night to accomplish the report, so I am losing my buttons.
If someone is not right in the head, he or she doesn't have a normal mental state or condition.
To become stupid, foolish, silly or crazy
To lose mental control; to become very anxious, upset, or afraid
Unstable, mentally unbalanced state.
To be unintelligent or mentally deranged.
The verb "lose" should be conjugated according to its tense.