This is a check valve and it will function accordingly.
A check valve does not work for this. A check valve just prevents water from flowing back. Probably used for water from the SWG not flowing back to the heater, but its not mandatory. You need a diverter path with a Jandy neverlube 3 way...