The CD4051 is essentially an 8-to-1 decoder attached to 8 transmission gates. You can build a functional model by:
Where to get CD4051 SPICE models