The non-metal element in the compound ammonium nitride is nitrogen (N). The chemical formula for ammonium nitride is NH4NO3, which indicates that the compound contains one nitrogen atom bonded to one ammonium cation (NH4+), one hydrogen atom, and three oxygen atoms.