What is the meaning of Touched_in_the_head?

Demented; slightly mentally deficient.

Source: wiktionary.org