The definition of illiteracy (and the way I used it in that case) includes being able to read words but not understand them or comprehend the meaning of a text as a whole. But I'm not surprised you didn't know that.