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 3,235 nationwide Xterra listings starting at $1,199.
Search Nissan Xterra Questions
Nissan Xterra Experts