For patients who have recently undergone ICL surgery, the general advice would be to keep away from contact sports for a month as the eye is still undergoing physical healing. Subsequently, you may return to contact sports.
Do keep in mind that whether or not one has had any form of eye surgery done, it is never a good idea to get hit in the eye. That risk, of course, increases with contact sports. There is a whole host of complications that may occur with blunt trauma to the eye, regardless of whether an ICL is in place. Some of these include retinal detachment, bleeding and damage to the internal structures of the eye. It is thus advisable to always use eye protection such as safety sports goggles when one is considering contact sports of any kind.