From Wiktionary, the free dictionary
Literally, “[for] the peg to come loose”.
irse la pinza (first-person singular present me voy la pinza, first-person singular preterite me fui la pinza, past participle ido la pinza)
- (idiomatic, colloquial) to go nuts, go bonkers, lose the plot