Yōga Sūtras
Yōga Sūtra 1.03
tadā draṣṭuḥ svarūpē'vasthānam।
When that happens, one resides in the observer state.
When you are conscious and aware of what your mind is doing, you are in observer state (drastu svarupa), because you are capable of observing your mind.