Want to help your body shed toxins? Drink some water, and your kidneys will get rid of them. The view that fasting will flush them out of your system appears to be wrong, though.
Is this something that can be spun around to the point that it can be claimed water fasting results in detox? I don't know, but I suppose there is all around healing and rejuvenation during this time.
It's also good to give the body a rest from constant digestion, so it can see to other things, and as cravings are reset during the fast, it's an easy transition (afterward) to whatever diet you actually want to follow.
There are many things that detox the body (liposomal vitamin C (liposomal mainly due to the high dosages needed), liposomal glutathione, ashitaba, chlorophyll, Centrophenoxine, magnesium oil spray or magnesium lotion, mercury chelators like spirulina (unless you have amalgam fillings), etc).