Abstract
The three-dimensional stability of magnetic equilibria with islands is investigated with use of reduced magnetohydrodynamics. It is found numerically that tokamak equilibria with large mn=2 islands can be ideally unstable. The instability is explained by the strongly modified q profile in the helical equilibrium, where the q=32,53, resonant surfaces are all close to the inner separatrix of the islands. An analytic treatment of the three-dimensional coalescence instability is given to illustrate this effect.