out of one's head
out of one's mind
out of one's senses
off one's head
Acting in a crazy way; especially, wildly crazy.
The patient was feverish and out of his head and had to be watched.
Her friends thought she was out of her mind to marry that man.