On the nonintegrability of magnetic field lines