The indices of the array are numerical in this case, so you can just say:
$found = false;
for ($i = 0; $i < sizeof($article); $i++ )
{
if ($article[$i] == $keyword)
{
$found = true;
break;
}
}
Are you forcing the data to the same case somewhere before this point? If not, you'll probably want to use strcasecmp() to make the comparison instead of ==.