Esotropia is diagnosed through a functional eye exam conducted by an optometrist. This exam assesses eye alignment, binocular vision, and the eyes' movement patterns. Specialized tests, like the cover test, can determine the presence and degree of esotropia. If esotropia is suspected, timely consultation with an eye doctor is crucial to determine the best management approach.