To be out of one's head

to be temporarily insane.

See also: Head