Arjuna inquired: O Krishna, by what symptoms can one who has transcended these three modes be known? How does he act and how does he transcend these three modes?
Bhagavad Gita - Chapter 14 - Guna Traya Vibhaga Yoga - The Yoga of Understanding the Three Modes of Material Nature
Bhagavan Shri Krishna replied: One who does not like or dislike the presence of illumination, attachment or delusion or laments their absence, who remains dispassionate and is not affected by the modes, who remains unwavering, who is equal in both happiness and distress, who remains content in the self, who sees no intrinsic difference between a lump of earth, a stone and gold, who remains undisturbed in both favorable and unfavorable circumstances, who is wise, to whom insult and praise are equal, who considers honor and infamy to be the same, who is impartial towards both friend and enemy, and who renounces all mundane activities – such a person is considered to be beyond the modes of material nature.
One who performs service to Me in bhakti-yoga without deviation, transcends these modes of material nature and is qualified for liberation.
I am the foundation of the immortal, imperishable Brahman, who is the basis of eternal dharma and supreme bliss.