all there

all there or all here  {adj. phr.},  {informal}
Understanding well; thinking clearly; not crazy. — Usually used in negative sentences.
Joe acted queerly and talked wildly, so we thought he was not all there.
Categories: crazy {adj. phr.} {informal}