Oh, you're right. Thought I was in the AutoCAD NG.
here's a hint:
(getvar "WSCURRENT"); returns your current workspace
(setvar "WSCURRENT" "workspace_1"); sets workspace_1 current.
Use the "if" "and" statement to toggle.
Probably should of use setvar instead of command.