if() statement wants bool when I check if an int is a certain number

this if statement is asking for a bool, when I am checking for a int
is this a bug, or am I doing something wrong?

using UnityEngine;

public class GenerateMaze : MonoBehaviour
{
    public GameObject pos;
  
    void Start()
    {
        int randomPlace = Random.Range(1, 4);
          if(randomPlace = 1) { //this one

          }

    }
}

the error is this
GenerateMaze.cs(12,14): error CS0029: Cannot implicitly convert type ‘int’ to ‘bool’

Single equal is assignment, double equal is comparison.

ok, thanks