doolally vs non compos mentis

doolally

adj
  • Eccentric; insane, mad. 

  • Carried away by enjoyment, excitement, etc. 

non compos mentis

adj
  • Insane; not of sound mind; not in control of oneself. 

How often have the words doolally and non compos mentis occurred in a corpus of books? (source: Google Ngram Viewer )