For censoring problems like this you are dealing with an observable random variable that is a mixture of a continuous and discrete part, with the discrete part occurring at the censoring value. For this type of data, it is sometimes easier to derive the likelihood function by starting with the CDF of the censored values and then using this to get their PDF. I'm going to do the derivation without your assumption that $\theta \geqslant 1$ initially, and then I'll add that assumption at the end, so that you can see how it is done in general.
Deriving the PDF for the censored values: The simplest way to do this is to first obtain the CDF. Since $X \sim \text{U}(0, \theta)$ you have:
$$\mathbb{P}(X \leqslant x) = \frac{\min(x, \theta)}{\theta}
\quad \quad \quad \text{for all } x \geqslant 0.$$
Thus, for all $y \geqslant 0$ we have the CDF:
$$\begin{align}
F_Y(y)
&\equiv \mathbb{P}(Y \leqslant y) \\[8pt]
&= \mathbb{P}(\min(X,1) \leqslant y) \\[8pt]
&= \mathbb{P}(X \leqslant y) \cdot \mathbb{I}(y \leqslant 1) + \mathbb{I}(y > 1) \\[6pt]
&= \frac{\min(y, \theta)}{\theta} \cdot \mathbb{I}(y \leqslant 1) + \mathbb{I}(y > 1). \\[6pt]
\end{align}$$
To get the PDF for this mixture variable we use the Dirac-delta function $\delta$ for the discrete part. Differentiating the CDF and using the Dirac delta function gives the PDF:$^\dagger$
$$\begin{align}
f_Y(y)
&= \frac{dF_Y}{dy}(y) \\[6pt]
&= \bigg[ \frac{d}{dy} \frac{\min(y, \theta)}{\theta} \bigg] \mathbb{I}(y \leqslant 1) + \bigg[ 1 - \frac{\min(\theta, 1)}{\theta} \bigg] \delta(1) \\[6pt]
&= \bigg[ \frac{1}{\theta} \cdot \mathbb{I}(y \leqslant \theta) \bigg] \mathbb{I}(y \leqslant 1) + \frac{\theta - \min(\theta, 1)}{\theta} \cdot \delta(1) \\[6pt]
&= \frac{1}{\theta} \cdot \mathbb{I}(y \leqslant \min(\theta, 1)) + \frac{\max(0, \theta-1)}{\theta} \cdot \delta(1). \\[6pt]
\end{align}$$
Now, if you add in your assumption that $\theta \geqslant 1$ then you get the simplified PDF:
$$f_Y(y) = \frac{1}{\theta} \cdot \mathbb{I}(y \leqslant 1) + \frac{\theta-1}{\theta} \cdot \delta(1).$$
The likelihood function and MLE: Now that we have the PDF we can write the likelihood function. Using your notation, suppose we let $R \equiv R(\mathbf{y}) \equiv \sum_{i=1}^n \mathbb{I}(y_i < 1)$ be the number of non-censored data points. We can then write the likelihood as:
$$\begin{align}
L_\mathbf{y}(\theta)
&= \prod_{i=1}^n f_Y(y_i) \\[6pt]
&= \bigg( \frac{1}{\theta} \bigg)^r \times \bigg( \frac{\theta-1}{\theta} \bigg)^{n-r} \\[6pt]
&= \frac{(\theta-1)^{n-r}}{\theta^n}, \\[6pt]
\end{align}$$
which gives the log-likelihood function:
$$\ell_\mathbf{y}(\theta) = (n-r) \log(\theta-1) - n \log (\theta)
\quad \quad \quad \quad \quad
\text{for } \theta \geqslant 1.$$
The statistic $R$ is sufficient for this problem, and the MLE is:
$$\hat{\theta}_\text{MLE} = \frac{n}{r}.$$
I will leave the rest of the analysis (completeness, etc.) to you. Further analysis should be reasonably simple due to the simple form of the log-likelihood function
$^\dagger$ We use the convention that $0 \cdot \delta(x) = 0$ so that the last term disappears if $\theta < 1$.