The whole theory of Maya does not mean that the world is an illusion.
The world is a reality, but the theory of Maya says that the world is only relatively real and, therefore, not absolutely real. This means it is not what you think it to be or what you think it is. You don’t know what it actually is. This is the theory of Maya. It is not that there is nothing, there is something but it is not the ‘something’, which you think it is.
The thing that you think it is, it is not, but there is something. In this context, I would like to quote a part of a beautiful poem by William Blake. He says:
Now, I a fourfold vision see,
And a fourfold vision is given to me:
‘Tis fourfold in my supreme delight
And threefold in soft Beulahs’ night
And twofold always, may God us keep
From single vision and Newton’s sleep!
Do you know what it means–”Newton’s sleep?” The Newtonian concept of the world is where we have defined everything and are sleeping blissfully in the thought that, ‘this is what it is, and nothing can alter it.’
Vedanta rejects the myth of reality as external to the human mind and it acknowledges consciousness as the source of the entire cosmos.