You will need to work out the details, but syntax like this may work:
where case when @equal IS null then @yr else null end > FiscalYear
or case when @equal IS not null then @yr else null end = FiscalYear
You cannot but the operator as part of the case statement.