What are you even asking? Thats like asking "is the conversation you had with yourself in your head an illusion"... what does that even mean, illusions are when you see something there that isnt there, but consciousness isnt a physical thing, so how does such a question even make sense.