I think using $day would be better smile
if ($day isin Saturday Sunday) return