The autonomic nervous system controls involuntary functions, including pupillary response. In Argyll Robertson pupil, dysfunction of the autonomic nerves can lead to the characteristic pupil abnormalities seen in this condition.