Ants are incredibly capable and intelligent creatures. Worker ants comprise a relatively small percentage of the workers in an ant colony. In fact, the foraging ants you see outside typically represent less than 10% of the colony.
This is important to keep in mind when it comes to ants control and why controlling ants you see in front of you is not enough to destroy the colony. This is why just eliminating the ants you see in front of you is not enough to destroy the colony!