A functional abnormality of the pupil. The phenotype is HP_0007686 (Abnormal pupillary function).