It is mandatory to wear a life jacket while rafting, but it is not always mandatory to know how to swim. Depending on the difficulty level of the tour and current water conditions, it is possible to participate without being a swimmer. You can find more details in the description of the specific rafting tour.