Please can you elaborate how to use the vcvs source as OR or AND gate? How to connect the terminals?
Use vcvsp (not vcvs) from analogLib. That allows you to specify the number of controlling voltages (i.e number of inputs to your logic gate). Then specify the type of source as "and" or "or" or whatever you want.
See the attached picture with a schematic (showing the property assistant to see the properties on the vcvsp), and the resulting waveforms.