compos mentis

in one's right mind (not italic)

Reference to compos mentis in Language Resources