Ha ha no it is not, like standing it may be against the ground rules but not illegal it is usually tolerated because as has been pointed most phones are half decent cameras these days.
Oh and let them ask to delete may I introduce you to recuva gets back anything deleted unless it is over...