engine tick at idle when warm
Could be sticky lifters, you could try a oil additive to help remove varnish, clean lifters. Otherwise then you pull the valve cover off and see if there is a problem.
Also, make sure it is not a exhaust leak from the exhaust manifold.
Automatic transmission fluid added to engine oil "1/2 quart " sometimes frees sticky lifters
Looking for a Used Xterra in your area?
CarGurus has 2,969 nationwide Xterra listings starting at $1,999.
Search Nissan Xterra Questions
Nissan Xterra Experts