Where to put where() for a query looking for a lightswitch field
You can just query for the field value directly How to use Element Queries

{% set featuredEntry = craft.entries({
    section:  ['resources'],
    orderBy:  {postDate: SORT_DESC},
    limit:    1,
    featured: 1,
}).all() %}