Using IC 4051 as multiplexer for digital inputs

Is it possible to use IC 4051 as multiplexer for digital inputs?

As I've read it is an analog multiplexer.

moham14:
Is it possible to use IC 4051 as multiplexer for digital inputs?
As I’ve read it is an analog multiplexer.

Works fine, except you specified the wrong chip.

You mean the 74HC4051, which is still an analog multiplexer, but the “digital” logic version, operates only on 5V (actually, 3 to 5V) and has much lower “on” resistance (and faster switching response).

One advantage of the analog multiplexer is that you only need a single pull-up on the common, as you do not need pull-ups on inputs that are not selected at any given time.

Thanks