If the other ants find an infected ant, they will carry it off and leave it as far from the colony as possible.
Scientists have discovered four new species of fungi in Brazilian rainforests that infect carpenter ants and take over their brains. About a week after being exposed to spores from the fungi, ants enter a zombie-like state. The fungus then grows out of the ant’s head and releases spores, but not until the ant climbs to a favorable position in the rainforest canopy so the spores have a better chance of infecting other ants.
Here is a 3min video from BBC.Scientists have discovered species of fungi that infect ants, taking control of their muscles, forcing them to wander the jungle floor in search of a perfect place for the fungus to propagate. That perfect place is the underside of certain leaves. When the fungus finds a leaf, it forces the ant to bite down on the leaf's main vein, locking it into position. Researchers found that this final bite takes place around noon, meaning the fungal parasite is synchronized with the sun.
If this can affect ants, and is affecting many other species, then there's no reason it can't affect us. From a zompocalypse perspective, it's pretty amazing stuff to think about.