Can I use getCriteria to only return entries with a specified lightswitch field set to on?
This should do it:

$criteria = craft()-&gt;elements-&gt;getCriteria(ElementType::Entry);
$criteria-&gt;section = 'mySection';
$criteria-&gt;myLightswitchField = 1;
$entries = $criteria-&gt;find();