I've had ants make their nests in pots. It's a real pain. Flooding as others have suggested works the best for me. Initially it's not too bad as they keep the plants fed but they tend to accumulate their refuse in little volcano piles that can drown out smaller specimens. For me, they also seem to stratify the medium - they like digging up the sand and all that ends up at the top of the pot.