In one’s right mind

Rational and sensible.

The girl was not in her right mind to quit her job right now.