A condition that affects the way the brain processes sensory information, leading to sensory over- or under-responsiveness.