No, MgF2 is not a nonpolar covalent bond. It is an ionic compound, meaning that it is composed of ions that are held together by electrostatic forces. In MgF2, the magnesium atom loses two electrons to the two fluorine atoms, resulting in the formation of Mg2+ and 2F- ions. These ions are then attracted to each other to form the ionic compound MgF2.