Here is the Sanskrit anuvad, Hindi anuvad, and English translation of Moksha-Sanyasa Yoga Chapter 18, Verse 18.31.
यया धर्ममधर्मं च कार्यं चाकार्यमेव च । अयथावत्प्रजानाति बुद्धिः सा पार्थ राजसी ॥ १८.३१ ॥
हे पार्थ ! मनुष्य जिस बुद्भि के द्वारा धर्म और अधर्म को तथा कर्तव्य और अकर्तव्य को भी यथार्थ नहीं जानता, वह बुद्भि राजसी है ।
The wisdom which is characterized by a lack of understanding of what should and should not be done; between what is religious and non-religious activity; between what is right and wrong; and when a person constantly mistakes action to be performed, with action not to be performed, that person has impure, passionate, or Rajas wisdom.