E. Cobham Brewer 18101897. Dictionary of Phrase and Fable. 1898.
De Lunatico Inquirendo (Latin).
A writ issued to inquire into the state of a persons mind, whether it is sound or not. If not of sound mind, the person is called non compos, and is committed to proper guardians.