If the first digit on the bar code is 0, then the product is made in USA or Canada. Any other number is foreign made.
That's incorrect. The first digit of a the product's barcode has nothing to do with the country of origin.
The only possible way to tell is to look for a country of origin declaration on the package or on the product itself, but as those declarations are sometimes falsified, you can't be certain in any case.