Suprisingly many people do not know this rule.
from
The Glosiversity
With runners on first and second base, or the bases loaded and zero or one out, a ball hit in the air that does not go past the infield (or fifteen feet into the outfield). The batter is automatically declared out, thus preventing the fielders from purposely dropping the fly ball in an attempt to force out runners.