Is it considered cheating to use the bathroom during the exam and look up answers on your phone?

is it cheating because i have done it a couple of times and haven't gotten caught yet.
9 answers 9