Arduino boards are made to withstand magnetic fields from ruining their microcontroller chips. With that said, you might still notice a change in some functions, like clock speed or capacitor levels, but not to the point that it would cause permanent damage. Plus, most of these problems are not even that noticeable in the average Arduino project.