An approximate way to classify metalloids is to look at the Periodic Table of elements. See the double diagonal line: top left Boron and Aluminium, bottom right Polonium and Astatine. Those diagonals are the metalloids. Some metalloids are not semimetals, and some semimetals are not metalloids.