encephalopathy
An alteration of normal brain function that can lead to confusion.