Got it figure out. I needed a datetime string instead of the sql command GetDate(). Also need to use or instead of ||..
New Where Clause
DocumentIsArchived = 0 or DocumentPublishTo <= '{% CurrentDateTime.Month.ToString() + "/" + CurrentDateTime.Day.ToString() + "/" + CurrentDateTime.Year.ToString() |(identity)GlobalAdministrator%}'