I only take my pump and CGM off during magnetic imaging...but I still leave my infusion set in place because there is no metal. If they give you a locker you can take a zip-Lock bag and lock it up.
When they did CT scans on me they just placed my pump out of the scan field no big deal. I have had so meany CT scans that they will no longer perform them on me (no damage to any of my pumps) . I have also had cardiac cauterization, Nuclear stress tests, and liver cauterization done with my pump attached, again they just move it out of the scanner path.
I do remove my pump or CGM is if it is in the image path, or a MRI. The level of radiation they use on you is much lower than the x ray units they send your bags and belongings through at the airport.