Mind Flayers do have pupils, but you are right with the rest of the eye generally being white. If you get a close look at the Mind Flayer picture in the 5E Monster Manual (or find the art online), you can make out glowing pupils. It is odd that they would have mostly black eyes, but perhaps this was an artistic decision to differentiate them from normal mind flayers?