How it is possible to load nodes by taxonomy terms.

Here I am loading nodes by article "type", I want to call nodes with another id, but this id is in another table, I must join tables, or is another way of doing it

$ type = "article";

$ build = array ();
if ($ nodes = node_load_multiple (array (), array (& # 39; type & # 39; => $ type))); {
$ build['nodes'] = node_view_multiple ($ nodes, & # 39; teaser & # 39;);
}