How can a given value be assigned only to positive numbers (mixed integer linear programming)?

I am looking for a linear formulation that allows the implementation of the following statement in the linear mixed integer problem:

A = 1 if B> = 0

Otherwise A = 0

B is the set of positive and negative integers.