can you see, smell, touch, taste, or hear anything that isnt real?
Every night, when I go to bed. They're called "dreams". I hear they're pretty common. I guess you don't have them, though?
why would you ever assume that your mind remember some non-real data?
Because I remember a lot of things that never actually happened, like scenes from books or stories I've written, or just things I've imagined, or dreams.
Seriously the way you ask these questions it's like you've never heard of imagination, dreaming, or hallucination.