Xanax is often used for depression. Depending on how long your friend has been taking it and if he is taking it correctly. It takes a few weeks for the body to adjust on it. I have been diving with people who are on it. We waited till they were stable then hit the water. no different then diving with someone who has stable bipolar.
Good luck
Good luck