May I ask, in what way are the ants damaging the trees,?
Before you try to kill the ants check to see if there is a reason for them to be there.
Examples:
There could be an aphid or mealybug infestation and that would draw the ants.
If there are termites ants steal the termite eggs.
Edited to add info.