2013 Teslas are mostly out of warranty and the early ones had a lot of motor failures. Add in battery degradation plus wear and tear and you'd have to be careful about what you buy. I'm not sure who you'd consult with to make sure the car is solid before purchase, but it would be wise to check out the vehicle thoroughly.
A new Bolt is $37K less a $7500 federal rebate and perhaps more discounts from the state. Add in a full warranty plus a fresh battery and it is kind of a no-brainer in terms of price/reliability.
If you really want a used Model S, however, then shop carefully and get one...