[Shitty Daystrom] Have we ever seen a 23rd century toilet, and how would it function?
https://dubvee.org/post/753043
We saw one in Star Trek V when Kirk, Spock, and bones are put in the brig of the enterprise – a. Kirk pushes a button and it slides out and he sits on it. But the lid is down, and thankfully, he doesn’t use it. It kind of looks like a normal toilet. That’s all we know. 
To be fair (and pedantic) that is a 23rd century toilet.