An illusion is a misperception of a real stimulus. It can be described as an erroneous perception, and in Gregory's view it arises from an incorrect perceptual hypothesis. Schemas and perceptual constancies are normal mental structures and processes, not illusions.
More Perception: Attention, organizing principles, Gestalt perception, depth perception and illusions questions