The smaller ion of the two would be Mg2+. Both ions have the same electronic arrangement so the amount of shielding occuring for both ions is the same. The key difference between the ions that causes the Mg2+ to have a smaller atomic radii, is that it has more protons within its nucleus, hence a greater nuclear charge than Na+ which means it will attract the valence electrons on the ion to a greater degree, shortening the distance between the nucleus and valence electrons and so making the ion smaller.