Xyce is not netlist compatible with LTSpice, and does not try to be. In order to port a netlist from LTSpice to Xyce you will have to carefully match up what the original is trying to do and reimplement it in Xyce syntax. LTSpice has added many features to really basic devices like capacitors and inductors, and almost none of those extensions are in Xyce (notably, almost every device in LTSpice can have parasitic lead resistors, capacitors, and inductors and the OpAmp you posted earlier makes use of that feature). You will not be able to take an unmodified LTSpice netlist and us it in Xyce. The Xyce team will be unable to give you concrete advice on how to translate your netlist other than to point you at the reference guide, which generally documents everything that Xyce can do.
The most general switch device in Xyce is the S device, which may be either voltage-controlled or the "generic" device. The manual is incorrect when it says that the "generic" device is accessed by the "SW" device --- that is outdated and will need to be fixed.
The Xyce regression suite has examples of each in the VSWITCH, ISWITCH, and GSWITCH test directories.
A voltage controlled switch that turns on when the control voltage is 1 V is given by:
S1 1 0 3 0 SW
.MODEL SW VSWITCH(RON=1 ROFF=1MEG VON=1 VOFF=0)
This switch turns on when V(3,0) is 1V. When on, it has a resistance of 1ohm, when off a resistance of 1MEG.
A switch that turns on when the controlling current is 10mA would be:
S1 1 2 SW OFF CONTROL={I(VMON)}
.MODEL SW ISWITCH (ION=10mA IOFF=0mA RON=1 ROFF=1E6)
This turns on when I(VMON) is 10mA and off when it's 0mA. The on/off resistances are the same.
This same switch may be modeled as a "W" device:
W1 1 2 VMON SW OFF
.MODEL SW ISWITCH (ION=10mA IOFF=0mA RON=1 ROFF=1E6)
Finally, this "generic" switch turns on when its control expression is above the ON setting and off when its control expression is the OFF setting or below. The control expression may be any expression that the expression library recognizes, but be aware that making very discontinuous expressions may cause convergence problems. This switch turns on when the control expression is 1, and the control expression is explicitly time dependent --- so this switch turns on at t=2us:
SW1 1 2 SW OFF CONTROL={if(time>2u,1,0)}
.MODEL SW SWITCH (ON=1 OFF=0 RON=1 ROFF=1E6)
None of them are strictly compatible with SPICE (LTSpice, ngspice, spice3f5). There is no "vt" threshold voltage in Xyce's switch, you have only on/off values. You can set on and off to numbers that are close together, straddling the threshold, to get something that is close to what the SPICE device does. Xyce's switch smooths the transition between on and off for improved convergence, which the SPICE switch does not do.