There is neither input nor output with analog multiplexers, it's both at the same time. That will answer both of your questions.
However, this information has been given many times (at least by me) in this forum.
Note that the unswitched connections are high-impedance. This is not like a digital multiplexer. The switched connection has an resitance of about 100 ohms.
Thank you for the answer, but how it is not input/output?
for example I found this on the next link:
"4051[ch8242]s in an 8×8 matrix can check the status of 64 digital inputs without using any of your digital I/O;"