Q.I have holes in some of the leaves on my tomato and cucumber
How can I find out what it from
Unless you see the culprit or culprits it is difficult to identify the insect or caterpillar.
Most insects can be controlled with an application of Neem Oil. Neem Oil is organic and is safe for people, pets and bees.
Here are some articles that will help you.