Hello Paullphas34
Do you mean a GA Travelcard (Generalabonnement) or a Swiss Travel Pass? You have to pay a ticket until Chiasso, but take a regional train and not an Eurocity, it will be cheaper (4.40 CHF). You can buy the ticket in the SBB Mobile app before departure (tickets are valid 4 hours).
Kind Regards
Danhiel