Well, at the very least, that barely changes anything so you should live your best life. If it was true that means living your life is the wish of the illusionist, and if it wasn’t nothing changes.
Yes, life is an illusion. And no, life isn't an illusion.
First, who's responsible for our illusion? Our own minds? Who made our minds? Someone or something made it. That means the interactions your mind perceives are real.
Second of all, the word illusion and its definition wouldn't be on your mind unless you learned about it somewhere. We live in the era of the internet. Any info is bound to be read and kept saved in people's minds. So, why are we being given the meaning of illusion?
Okay, that might be hard to understand. Let me try simplifying it.