The metaphysical theory that holds that reality is fundamentally mental, or that the material world is an illusion.