How to Replace a separate mesh
This answer is about selecting the leaves.

Select and hide  H  the icosphere and the wood (tree without the leaves).

Now select all the leaves  A  and give them a material.

In Relations Tab click in Object Data >> Link Data.

Now you can select all the leaves by its material.

See the image below.