When you have stable isotopes like 24, 25, 26 in something natural, then it is highly likely that the other isotopes are radioactive.
24, 25, 26 are the central points of magnesium.
Anything lower will decay by position emission. 20, 21, 22, 23.
proton -> neutron + positron + neutrino
Anything higher will decay by electron emission. 27 and above.
neutron -> proton + electron + anti-neutrino
Of course, there are other modes of decay possible like K capture, double beta decay, and perhaps others I haven't heard of.
K capture happens if there isn't enough energy in the nucleus thus positron emission can't occur. It is a very curious phenomenon.