At
www.sbb.ch/en you can find special fares on
some trains; the "catch" is they are only valid on a particular route for a time and date, if you miss that train the ticket is no longer valid. As others have noted Zurich to Basel has frequent service and (except in the rush hour) 2nd class would be relatively inexpensive and not that much worse than 1st class.