The works of Ādi Śaṅkarācārya

Viṣṇusahasranāmastotram

Verse 129

यथा स्वप्ने द्वयाभासं चित्तं चलति मायया ।तथा जाग्रद्द्वयाभासं चित्तं चलति मायया ॥

In plain words

Just as in a dream the mind projects a world of subject and object through mere illusion, so too the waking mind dances through duality by that very same power.

Close to the Sanskrit

Just as in a dream the mind, having the appearance of duality, moves through illusion; so too the waking mind, having the appearance of duality, moves through illusion.