The calculated distance (air line) between Locarno and Sankt Gallen is approximately 91 miles respectively 146 kilometers.
By car or train, the actual journey to Sankt Gallen is certainly longer, as only the direct route (as the crow flies) between Locarno and Sankt Gallen has been calculated here.
Air line (approximately)
146 kilometers
79 nautical miles