Hi Yazid,
I am not sure with the column type of “Deactivated (Bool)”. I assume that it should be a number column.
To test this issue, I created a list with the three columns you mentioned. In my list, the column names are start, end, bool(number column type).
Then I create a flow to update the bool column.
The flow is configured likes below.
The function I am using for the bool field is:
if(and(greater(formatDateTime(utcnow(),'yyyy-MM-dd'),formatDateTime(items('Apply_to_each')?['start'],'yyyy-MM-dd')),less(formatDateTime(utcnow(),'yyyy-MM-dd'),formatDateTime(items('Apply_to_each')?['end'],'yyyy-MM-dd'))),'0','1')
When today’s date is between start and end, it will return 0. If not, returns 1.

This function works fine on my side. Please have a try with it on your side.
Best regards,
Mabel Mao