Wiktionary
off one's nut
a. (context chiefly British dated in US idiomatic English) insane, crazy.