The calculated distance (air line) between Locarno and Zürich is approximately 83 miles respectively 134 kilometers.
By car or train, the actual journey to Zürich is certainly longer, as only the direct route (as the crow flies) between Locarno and Zürich has been calculated here.