Not all there

exp.

Heard in Dublin

Slightly mad or not fully in possession of ones wits.

In use

Look at that poor guy, you can see he's not all there

Posh English

Observe that unfortunate fellow emerging from the psychiatric hospital. One can plainly see he is not entirely compos mentis.