This is a name conflict, you have a local variable with the same name as a variable declared in global scope, change the name of one of your variables and you will not have any more conflict.
And since the local variable takes precedence , then it will not be possible to get the value of fcfs
because it has not yet exists in the local scope of your function, however, if I change the name of your local variable there will be no conflict, see:
#variaveis globais
fcfs = False
#commands
def fcfscheck():
outroNome = not fcfs
And if you want to reference your global variable without changing its name, do what was suggested in the other global fcfs
plies, but try to make it easier for anyone to read your code.