The app itself is not illegal, but the action of downloading a torrent may be illegal in some jurisdictions.