Openscad is in array or equivalent
<p>There is something like this on openScad?</p>

<pre><code>list = [2, 3];

if(1 in list){
  echo("in");
}else{
  echo("not in");
}
/* or better: */
list = [2, 3];
isin = 1 in list? 100 : 0;
</code></pre>